package qc.module.qms.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import qc.common.core.enums.ResourceStatusFlagEnum;
import qc.common.core.enums.qms.QmsPointTimeSegmentEnum;
import qc.common.core.enums.qms.QmsPointValueFieldEnum;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * QmsAlarmDataPoint
 *
 * @author QuCheng Tech
 * @since 2025/10/20
 */
@Data
@TableName("qms_alarm_data_point")
public class QmsAlarmDataPoint implements Serializable, Cloneable {
    /**
     * 记录ID
     */
    @TableId
    private String id;
    /**
     * 规则ID
     */
    private String ruleid;
    /**
     * 点号ID
     */
    private String pointid;
    /**
     * 点号时段类型
     */
    private QmsPointTimeSegmentEnum pointtmseg;
    /**
     * 判断使用数值字段
     */
    private QmsPointValueFieldEnum valuefield;
    /**
     * 资源状态;启用、禁用、已删除
     */
    private ResourceStatusFlagEnum flag;
    /**
     * 写入时间
     */
    private LocalDateTime intm;
}
